\newcommand{\longtitle}{{Passive and active plasmonic structures}}

\newcommand{\authorname}{{Joshua C Barnes}}
\newcommand{\authoremail}{{jcb91@cam.ac.uk}}
\newcommand{\authorlink}{\href{mailto:\authoremail}}

\newcommand{\departmentname}{{Department of Physics}}
\newcommand{\departmentwebsite}{www.phy.cam.ac.uk}
\newcommand{\departmentlink}{\href{http://\departmentwebsite}}

\newcommand{\uniname}{{University of Cambridge}}
\newcommand{\uniwebsite}{www.cam.ac.uk}
\newcommand{\unilink}{\href{http://\uniwebsite}}

\ifpdf
  \newcommand{\authortext}{{\authorlink\authorname}}
  \newcommand{\departmenttext}{{\departmentlink\departmentname}}
  \newcommand{\unitext}{{\unilink\uniname}}
\else
  \newcommand{\authortext}{{\authorname}}
  \newcommand{\departmenttext}{{\departmentname}}
  \newcommand{\unitext}{{\uniname}}
\fi

\usepackage{xifthen}
\newcommand{\FDTD}{\ifthenelse{\isnamedefined{abbrFDTD}}{FDTD}{Finite Difference Time Domain~(FDTD)\def\abbrFDTD{}}}
\newcommand{\EM}{\ifthenelse{\isnamedefined{abbrEM}}{EM}{electromagnetic~(EM)\def\abbrEM{}}}
\newcommand{\EBL}{\ifthenelse{\isnamedefined{abbrEBL}}{EBL}{electron beam lithography~(EBL)\def\abbrEBL{}}}
\newcommand{\PL}{\ifthenelse{\isnamedefined{abbrPL}}{PL}{photoluminescence~(PL)\def\abbrPL{}}}
\newcommand{\FIB}{\ifthenelse{\isnamedefined{abbrFIB}}{FIB}{focussed ion beam~(FIB)\def\abbrFIB{}}}
\newcommand{\ITO}{\ifthenelse{\isnamedefined{abbrITO}}{ITO}{Indium Tin Oxide~(ITO)\def\abbrITO{}}}
\newcommand{\IDT}{\ifthenelse{\isnamedefined{abbrIDT}}{IDT}{Interdigitated transducer~(IDT)\def\abbrIDT{}}}
\newcommand{\IDTs}{\ifthenelse{\isnamedefined{abbrIDT}}{IDTs}{Interdigitated transducers~(IDTs)\def\abbrIDT{}}}
\newcommand{\TM}{\ifthenelse{\isnamedefined{abbrTM}}{TM}{transverse magnetic~(TM)\def\abbrTM{}}}
\newcommand{\TE}{\ifthenelse{\isnamedefined{abbrTE}}{TE}{transverse magnetic~(TE)\def\abbrTE{}}}
\newcommand{\SAW}{\ifthenelse{\isnamedefined{abbrSAW}}{SAW}{surface acoustic wave~(SAW)\def\abbrSAW{}}}
\newcommand{\SAWs}{\ifthenelse{\isnamedefined{abbrSAW}}{SAWs}{surface acoustic waves~(SAWs)\def\abbrSAW{}}}
\newcommand{\BT}{\ifthenelse{\isnamedefined{abbrBT}}{BT}{bowtie~(BT)\def\abbrBT{}}}
\newcommand{\BTs}{\ifthenelse{\isnamedefined{abbrBT}}{BTs}{bowties~(BTs)\def\abbrBT{}}}
\newcommand{\AFM}{\ifthenelse{\isnamedefined{abbrAFM}}{AFM}{atomic force microscope~(AFM)\def\abbrAFM{}}}
\newcommand{\NA}{\ifthenelse{\isnamedefined{abbrNA}}{NA}{numerical aperture~(NA)\def\abbrNA{}}}